package com.xms.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.util.UUID;

/**
 * <p>
 * 
 * </p>
 *
 * @author migo
 * @since 2021-08-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Roles extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private UUID roleid;

    private String name;

    private String description;

    private LocalDate createdon;

    private UUID createdby;

    private LocalDate modifiedon;

    private UUID modifiedby;

    private Boolean statecode;

    private UUID businessunitid;

    private UUID organizationid;

    private UUID parentroleid;


}
